package com.moco.launcher.play;

import com.moco.launcher.play.MusicItemInfo;
import com.moco.launcher.play.OnStatusChangeCallback;

interface IMocoPlayerService{

	void play(in List<MusicItemInfo> list);
	void start();
	void stop();
	void pause();
	void seekTo(long msec);
	void playNext();
	void playPrev();
	void playCurrent();
	long getDuration();
	long getCurrentPosition();
	boolean isPlaying();
	void playItem(in MusicItemInfo item);
	void setVolume(float leftVolume, float rightVolume);
	void registerStatusChangeCallback(OnStatusChangeCallback callback);
	void unregisterStatusChangeCallback(OnStatusChangeCallback callback);
	void setLoopMode(long mode);
	String getCurrentId();
	void setPlayList(in List<MusicItemInfo> list);
	long getAudioSessionId();

}